<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Grade')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-grade" data-rule="required" class="form-control selectpicker" name="row[grade]">
                {foreach name="gradeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.grade"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ronda')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-ronda" class="form-control selectpicker" name="row[ronda]">
                {foreach name="rondaList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.ronda"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('地址')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::cxselect('ajax/area', ['province','city','area'], ['province'=>$row.province, 'city'=>$row.city,'area'=>$row.area])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Video')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::fieldlist('row[video]',$row.video, ['科目','版本'], '', ['data-rule'=>'required'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Book')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::fieldlist('row[book]',$row.book, ['科目','版本'], '', ['data-rule'=>'required'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Meeting_book')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::fieldlist('row[meeting_book]',$row.meeting_book, ['产品','数量'], '', ['data-rule'=>'required'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('School_book')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::fieldlist('row[school_book]',$row.school_book, ['产品','数量'], '', ['data-rule'=>'required'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Metting_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-metting_num" class="form-control form-control" name="row[metting_num]" type="number" value="{$row.metting_num}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hot_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hot_num" class="form-control form-control" name="row[hot_num]" type="number" value="{$row.hot_num}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lecturer')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lecturer" data-rule="required" class="form-control form-control" name="row[lecturer]" type="text" value="{$row.lecturer}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Host')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-host" data-rule="required" class="form-control form-control" name="row[host]" type="text" value="{$row.host}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Finance')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-finance" data-rule="required" class="form-control form-control" name="row[finance]" type="text" value="{$row.finance}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Book_total')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-book_total" data-rule="required" class="form-control form-control" name="row[book_total]" type="text" value="{$row.book_total}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Office_total')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-office_total" data-rule="required" class="form-control form-control" name="row[office_total]" type="text" value="{$row.office_total}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Uptime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-uptime" class="form-control datetimepicker form-control" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[uptime]" type="text" value="{$row.uptime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-endtime" class="form-control datetimepicker form-control" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[endtime]" type="text" value="{$row.endtime|datetime}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
